#include<iostream>
#include<conio.h>
#include<stdio.h>

using namespace std;

class CRectangle
{
	int width;
	int height;
public:
	CRectangle(int ,int );
	int area();
};
CRectangle::CRectangle(int a,int b)
{
	width = a;
	height = b;
}
int CRectangle::area()
{
	return( width * height );
}
int main()
{
	CRectangle recta(3,4);
	CRectangle rectb(5,6);
	cout<<"area a: "<<recta.area();
	cout<<"\n";
	cout<<"area b: "<<rectb.area();
	getch();
	return 0;
}
